package com.mysoft.gfyx.marketdevelop.service;

import com.mysoft.framework.modeling.dto.FieldsSetting;
import com.mysoft.framework.modeling.dto.ListDataResult;
import com.mysoft.framework.modeling.dto.LoadDataParams;
import com.mysoft.gfyx.marketdevelop.mip.dto.MySubscriptionDto;
import com.mysoft.gfyx.marketdevelop.mip.dto.MySubscriptionPageDto;
import com.mysoft.gfyx.marketdevelop.mip.dto.MySubscriptionReqDto;
import com.mysoft.gfyx.marketdevelop.mip.dto.OpportunityProjectDto;

import java.util.List;

public interface SearchService {
    FieldsSetting loadSearchDeveloperFields();

    ListDataResult loadSearchDeveloperData(LoadDataParams options);

    FieldsSetting loadSearchOpportunityFields();

    ListDataResult loadSearchOpportunityData(LoadDataParams options);

    FieldsSetting loadSearchTakenLandFields();

    ListDataResult loadSearchTakenLandData(LoadDataParams options);

    FieldsSetting loadSearchCommencePermitFields();

    ListDataResult loadSearchCommencePermitData(LoadDataParams options);

    FieldsSetting loadSearchProjectFields();

    ListDataResult loadSearchProjectData(LoadDataParams options);

    FieldsSetting loadSearchWinBidFields();

    ListDataResult loadSearchWinBidData(LoadDataParams options);

    MySubscriptionPageDto getLatestOpportunity(MySubscriptionReqDto dto);

    OpportunityProjectDto getProvinceAndCityFromProject(Object projectObj);
    String spellProjectName(Object projectObj);

    FieldsSetting loadSearchMohurdProjectFields();

    ListDataResult loadSearchMohurdProjectData(LoadDataParams options);

    FieldsSetting loadSearchSupplierFields();
    ListDataResult loadSearchSupplierData(LoadDataParams options);

}
